package com.example.admin.service;

import com.example.admin.entity.SysJob;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 定时任务调度表 服务类
 * </p>
 *
 * @author wangkai
 * @since 2020-09-29
 */
public interface ISysJobService extends IService<SysJob> {

    boolean saveSysJob(SysJob sysJob);

    boolean updateSysJob(SysJob sysJob);

    boolean deleteSysJob(Integer[] ids);

    boolean start(SysJob sysJob);

    void run(SysJob sysJob);
}
